<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.13/theme-chalk/index.css" rel="stylesheet" />
    <link rel="stylesheet" href="./css/index.css" />
    <title>Document</title>
  </head>
  <body>
    <div class="header">
      <input type="file" placeholder="选择文件" id="imageUpload" accept="image/*" />
    </div>
    <div class="main">
      <div class="main-left main-width">
        <canvas id="canvas"></canvas>
      </div>
      <div class="main-mid">
        <input type="color" id="picker" />
        <button id="generate" class="el-button el-button--primary el-button--mini">生成</button>
      </div>
      <div class="main-right main-width">
        <canvas id="canvas-handle"></canvas>
      </div>
    </div>
    <script src="./js/canvas.js"></script>
  </body>
</html>
